package com.yingpai.fitness.entity;

import java.util.List;

/**
 * Created by ASUS on 2018/5/23.
 */

public class CartBean {


    /**
     * result : success
     * msg : 查询成功
     * map : {"propertySet":[{"id":8,"propertyName":"尺码","isAbandoned":false}],"shoppingCartList":[{"cont":"妖动动自营","list":[{"photoUrl":"http://qiniu.yingpaitch.com/img/merchandisePhotos/20181015/74994d97-b6d5-49b3-b75b-b57915b9ddc6.jpeg,http://qiniu.yingpaitch.com/img/merchandisePhotos/20181015/5d2d0b8e-31e9-4831-8256-f22d56f0b69d.jpg,http://qiniu.yingpaitch.com/img/merchandisePhotos/20181015/2c370d47-5cee-4d8e-90ef-df5678998bb9.jpg,http://qiniu.yingpaitch.com/img/merchandisePhotos/20181015/5fd25603-19c4-44dd-a2cc-cbbe9315026f.jpg","merchandiseId":2005,"brandName":"妖动动自营","quantity":6,"price":1,"customerId":6908,"propertyValue":"[{\"propertyValue\":\"S\",\"propertyId\":8}]","id":2007,"merchandiseName":"121213李叔黎","mcipId":2024,"inventory":102}]}]}
     */

    private String result;
    private String msg;
    private MapBean map;

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public MapBean getMap() {
        return map;
    }

    public void setMap(MapBean map) {
        this.map = map;
    }

    public static class MapBean {
        private List<PropertySetBean> propertySet;
        private List<ShoppingCartListBean> shoppingCartList;

        public List<PropertySetBean> getPropertySet() {
            return propertySet;
        }

        public void setPropertySet(List<PropertySetBean> propertySet) {
            this.propertySet = propertySet;
        }

        public List<ShoppingCartListBean> getShoppingCartList() {
            return shoppingCartList;
        }

        public void setShoppingCartList(List<ShoppingCartListBean> shoppingCartList) {
            this.shoppingCartList = shoppingCartList;
        }

        public static class PropertySetBean {
            /**
             * id : 8
             * propertyName : 尺码
             * isAbandoned : false
             */

            private int id;
            private String propertyName;
            private boolean isAbandoned;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getPropertyName() {
                return propertyName;
            }

            public void setPropertyName(String propertyName) {
                this.propertyName = propertyName;
            }

            public boolean isIsAbandoned() {
                return isAbandoned;
            }

            public void setIsAbandoned(boolean isAbandoned) {
                this.isAbandoned = isAbandoned;
            }
        }

        public static class ShoppingCartListBean {
            /**
             * cont : 妖动动自营
             * list : [{"photoUrl":"http://qiniu.yingpaitch.com/img/merchandisePhotos/20181015/74994d97-b6d5-49b3-b75b-b57915b9ddc6.jpeg,http://qiniu.yingpaitch.com/img/merchandisePhotos/20181015/5d2d0b8e-31e9-4831-8256-f22d56f0b69d.jpg,http://qiniu.yingpaitch.com/img/merchandisePhotos/20181015/2c370d47-5cee-4d8e-90ef-df5678998bb9.jpg,http://qiniu.yingpaitch.com/img/merchandisePhotos/20181015/5fd25603-19c4-44dd-a2cc-cbbe9315026f.jpg","merchandiseId":2005,"brandName":"妖动动自营","quantity":6,"price":1,"customerId":6908,"propertyValue":"[{\"propertyValue\":\"S\",\"propertyId\":8}]","id":2007,"merchandiseName":"121213李叔黎","mcipId":2024,"inventory":102}]
             */

            private String cont;
            private List<ListBean> list;

            public String getCont() {
                return cont;
            }

            public void setCont(String cont) {
                this.cont = cont;
            }

            public List<ListBean> getList() {
                return list;
            }

            public void setList(List<ListBean> list) {
                this.list = list;
            }

            public static class ListBean {
                /**
                 * photoUrl : http://qiniu.yingpaitch.com/img/merchandisePhotos/20181015/74994d97-b6d5-49b3-b75b-b57915b9ddc6.jpeg,http://qiniu.yingpaitch.com/img/merchandisePhotos/20181015/5d2d0b8e-31e9-4831-8256-f22d56f0b69d.jpg,http://qiniu.yingpaitch.com/img/merchandisePhotos/20181015/2c370d47-5cee-4d8e-90ef-df5678998bb9.jpg,http://qiniu.yingpaitch.com/img/merchandisePhotos/20181015/5fd25603-19c4-44dd-a2cc-cbbe9315026f.jpg
                 * merchandiseId : 2005
                 * brandName : 妖动动自营
                 * quantity : 6
                 * price : 1
                 * customerId : 6908
                 * propertyValue : [{"propertyValue":"S","propertyId":8}]
                 * id : 2007
                 * merchandiseName : 121213李叔黎
                 * mcipId : 2024
                 * inventory : 102
                 */

                private String photoUrl;
                private int merchandiseId;
                private String brandName;
                private int quantity;
                private double price;
                private int customerId;
                private String propertyValue;
                private int id;
                private String merchandiseName;
                private int mcipId;
                private int inventory;
                private List<ShopDetailMcipChildBean> propertyList;
                private boolean isChecked;

                public boolean isChecked() {
                    return isChecked;
                }

                public void setChecked(boolean checked) {
                    isChecked = checked;
                }
                public List<ShopDetailMcipChildBean> getPropertyList() {
                    return propertyList;
                }

                public void setPropertyList(List<ShopDetailMcipChildBean> propertyList) {
                    this.propertyList = propertyList;
                }

                public String getPhotoUrl() {
                    return photoUrl;
                }

                public void setPhotoUrl(String photoUrl) {
                    this.photoUrl = photoUrl;
                }

                public int getMerchandiseId() {
                    return merchandiseId;
                }

                public void setMerchandiseId(int merchandiseId) {
                    this.merchandiseId = merchandiseId;
                }

                public String getBrandName() {
                    return brandName;
                }

                public void setBrandName(String brandName) {
                    this.brandName = brandName;
                }

                public int getQuantity() {
                    return quantity;
                }

                public void setQuantity(int quantity) {
                    this.quantity = quantity;
                }

                public double getPrice() {
                    return price;
                }

                public void setPrice(double price) {
                    this.price = price;
                }

                public int getCustomerId() {
                    return customerId;
                }

                public void setCustomerId(int customerId) {
                    this.customerId = customerId;
                }

                public String getPropertyValue() {
                    return propertyValue;
                }

                public void setPropertyValue(String propertyValue) {
                    this.propertyValue = propertyValue;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getMerchandiseName() {
                    return merchandiseName;
                }

                public void setMerchandiseName(String merchandiseName) {
                    this.merchandiseName = merchandiseName;
                }

                public int getMcipId() {
                    return mcipId;
                }

                public void setMcipId(int mcipId) {
                    this.mcipId = mcipId;
                }

                public int getInventory() {
                    return inventory;
                }

                public void setInventory(int inventory) {
                    this.inventory = inventory;
                }
            }
        }
    }
}
